package routes

import (
	"huanteng/core"
	"huanteng/web/controllers/user"
	"huanteng/web/middleware"
)


func init()  {

	core.Party("/api")
	core.Register("/auth",new(user.AuthController))
	core.Middleware(middleware.JwtVerifierMiddleware(),middleware.JwtVerify("user"))
	core.Register("/home",new(user.HomeController))
	core.Register("/user/",new(user.TestController))
}




